package com.sh.caryr.erp.entity.product;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 套件规格表
 * </p>
 *
 * @author milkeeper
 * @since 2017-11-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("erp_comb_num")
public class CombNum implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 逻辑id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 套件详情ID
     */
    //TODO delete
    @JsonSerialize(using = ToStringSerializer.class)
    private Long combDetailId;
    /**
     * product spec ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long productSpecId;
    /**
     * skuID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long skuId;
    /**
     * sku数量
     */
    private Integer skuNum;
}
